const { ccclass, property } = cc._decorator;

@ccclass
export default class DeductionToastPage extends cc.Component {
    private DeductionToastPage: cc.Node;
    private bg: cc.Node;
    private reward: cc.Node;
    private sad: cc.Node;
    private countLabel: cc.Node;

    static URL = "db://assets/resources/pages/DeductionToastPage.prefab";

    onLoad() {
        this.DeductionToastPage = this.node;
        this.bg = this.DeductionToastPage.getChildByName("bg");
        this.reward = this.DeductionToastPage.getChildByName("reward");
        this.sad = this.DeductionToastPage.getChildByName("sad");
        this.countLabel = this.DeductionToastPage.getChildByName("countLabel");
    }
}
